import axios from 'axios'
// 提醒列表
export const reqWarnList = (data)=>
axios({
  url:'/api/crm/warn/condition',
  method:'get',
  params:data
});
// 添加提醒
export const reqAddWarn = (data)=>
axios({
  url:'/api/crm/warn/insert',
  method:'post',
  data:data
});
// 删除提醒
export const reqDelWarn = (data)=>
axios({
  url:'/api/crm/warn/delete',
  method:'delete',
  data:data
});
// 修改提醒
export const reqUpdateWarn = (data)=>
axios({
  url:'/api/crm/warn/update',
  method:'put',
  data:data
});